package com.yy.wga.admin.service.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 商品购买订单信息(OrderGoods)表实体类
 *
 * @author guochao
 * @since 2024-10-26 10:38:28
 */
@Data
public class AdminOrderUpgradeExportDTO {

    @ExcelProperty("用户id")
    private Long userId;

    @ExcelProperty("订单号")
    private String orderNo;

    @ExcelProperty("支付订单号")
    private String payOrderNo;

    @ExcelProperty("标题")
    private String title;

    @ExcelProperty("订单状态")
    private Integer status;

    @ExcelProperty("商品价格（单位：分»")
    private Integer price;

    @ExcelProperty("支付时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ExcelProperty("快递单号")
    private String waybillNo;

    @ExcelProperty("快递公司编码")
    private String deliveryCode;

    @ExcelProperty("用户全名")
    private String userName;

    @ExcelProperty("联系电话")
    private String phone;

    @ExcelProperty("省份")
    private String provinceName;

    @ExcelProperty("市")
    private String cityName;

    @ExcelProperty("区")
    private String countyName;

    @ExcelProperty("详细地址")
    private String detailInfo;
}
